package com.yuyou.train.user.service;

import java.util.List;

import com.yuyou.train.service.api.user.dto.UserMedalCategoryDTO;
import com.yuyou.train.service.api.user.entity.UserMedalCategory;
import com.yuyou.train.util.bean.Pagination;
import com.yuyou.train.util.bean.ResBoolSimpleInfo;


public interface IUserMedalCategoryService {
    int deleteByPrimaryKey(String id);

    ResBoolSimpleInfo deleteMedalCategory(String id);
    
    int insert(UserMedalCategory record);

    UserMedalCategoryDTO selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(UserMedalCategory record);
    
    List<UserMedalCategoryDTO> findMedalCategoryPageList(Pagination<UserMedalCategoryDTO> p);
    
    int findMedalCategoryPageCount(Pagination<UserMedalCategoryDTO> p);

    List<UserMedalCategory> findUserMedalCategoryList();

}